package SupermarketManageSystem;

import java.time.LocalDate;
import java.util.Date;

public class Vip {
    private String name;//用户名
    private String cardNo;//会员卡号
    private String passWord;//会员密码
    private int integral;//会员积分
    private Date date;//开卡日期

    public Vip() {
    }

    public Vip(String name, String cardNo, String passWord, int integral, Date date) {
        this.name = name;
        this.cardNo = cardNo;
        this.passWord = passWord;
        this.integral = integral;
        this.date = date;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getPassword() {
        return passWord;
    }

    public void setPassword(String passWord) {
        this.passWord = passWord;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
